//
// Created by redcat1 on 12.05.2024.
//

#ifndef TASK_ARRAY_FIGURES_H
#define TASK_ARRAY_FIGURES_H


//
struct Rectangle
{
  double length;
  double width;
};
double Rectangle_Area(Rectangle* rect);
double Rectangle_Perimeter(Rectangle* rect);

//
struct Circle
{
  double radius;
};
double Circle_Area(Circle* circle);
double Circle_Perimeter(Circle* circle);

//
struct RightTriangle
{
  double leg1;
  double leg2;
};
double RightTriangle_Area(RightTriangle* triangle);
double RightTriangle_Perimeter(RightTriangle* triangle);


#endif //TASK_ARRAY_FIGURES_H
